<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
    <base href="<%=basePath%>">  
    <title>随机数</title> 
  </head> 
  <body>
  <%
   		Random r=new Random();
   		int rs=0;
   		rs=r.nextInt(50);
    %>
   <jsp:include page="Test4-1.jsp">
    	<jsp:param value="<%=rs%>" name="num"/>
    </jsp:include>
  </body>
</html>





